class AddColNumberAndChangePriorityToIntInNoteTypes < ActiveRecord::Migration
  def self.up
    add_column :note_types, :col_number, :integer, :default => '0'
    change_column :note_types, :priority, :integer
  end

  def self.down
    remove_column :note_types, :col_number
    change_column :note_types, :priority, :float
  end
end
